<template>
  <div id="app">
    <img src="./assets/logo.png">
    <!-- <HelloWorld/> -->
    <HeadMenu></HeadMenu>
    <SlotOne></SlotOne>
    <SlotOne>
      <h1>这是定义的内容，也就是要显示的内容可以是文字，也可以是图片</h1>
    </SlotOne>
    <SlotOne>
      <img style="width:100px;" src="./assets/logo.png" alt="">
    </SlotOne>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld'
// 加载模块 ES6 import from
import HeadMenu from './components/HeadMenu'
import SlotOne from './components/slots/SlotOne'
export default {
  name: 'App',
  components: {
    HelloWorld,
    HeadMenu,
    SlotOne
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
